<?php
define('IN_QY',true);
require("include/common.inc.php");


//api
$glfl=$_POST['glfl'];

$sql = "select * from tbl_mother_catgroy where status=0 and name='".$glfl."'";
$query=mysql_query($sql);
$row=mysql_fetch_array($query);


echo json_encode(array('data'=>$row['id'],'error'=>0)); 

//
